# -*- coding: utf-8 -*-
# @Time        :2024/9/26 下午4:26
# @Author      :文刀水寿
# @File        : str_util.py.py
"""
 @Description :
"""


def str_reverse(s):
    """
    功能是将字符串反转
    :param s: 将被反转的字符串
    :return: 返转后的字符串
    """
    print(s[::-1])


def substr(s, x, y):
    """
    将字符串切片
    :param s:
    :param x:
    :param y:
    :return:
    """
    print(s[x: y:])
